package com.company;

import java.util.Arrays;

public class disanti {
    public static void main(String[] args) {
        int[] arr = {65, 89, 56, 78, 45, 69, 59};
        Arrays.sort(arr);
        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }
    }
}

